<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>

<h1>
	Registrace
</h1>
<form:form commandName="user" method="post" action="doRegister">
 
    <table>
    <tr>
        <td><form:label path="login">Login</form:label></td>
        <td><form:input path="login" /></td> 
    </tr>
    <tr>
        <td><form:label path="email">Email</form:label></td>
        <td><form:input path="email" /></td>
    </tr>
   	<tr>
        <td><form:label path="pass">Password</form:label></td>
        <td><form:input path="pass" /><form:errors path="pass" cssClass="error"/></td>
    </tr>
   	<tr>
        <td><form:label path="pass2">Password Confirm</form:label></td>
        <td><form:input path="pass2" /><form:errors path="pass2" cssClass="error"/></td>
    </tr>
    <tr>
        <td colspan="2">
            <input type="submit" value="Registrovat" class="gobuttonII"/>
        </td>
    </tr>
</table>  
     
</form:form>